layui.define(['table', 'form', 'admin', 'upload'], function(exports) {
    var $ = layui.$
        , table = layui.table
        , form = layui.form
        , upload = layui.upload
        , admin = layui.admin;

    //
    table.render({
        elem: '#LAY-role-manage'
        , url: config.role_get_list
        , cols: [[
            {field: 'id', width: 100, title: 'ID', sort: true}
            , {field: 'name', title: '名称'}
            , {field: 'remark',title: '说明'}
        ]]
        , page: false
        , limit: 0
        , height: 'full-140'
        , text: '对不起，加载出现异常！'
        , even: true
    });


    exports('guild/role', {})
});